<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>首页 </title>
<!-- 引入css -->
  {include file="Common/css"}
<!-- 引入css -->
  </head>
  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
<!-- 引入头部 -->
  {include file="Common/menu"}
<!-- 引入头部 -->
        </div>
        <div class="top_nav">
<!-- 引入头部 -->
  {include file="Common/head"}
<!-- 引入头部 -->
        </div>
        <div class="right_col" role="main">
          <div class="">
            <div class="row top_tiles">
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
                    <div class="count"><a href="{:url('Allproblems/total')}">总数</a></div>
                  <h3>
                  {volist name="total" id="vo"} 
                    {$vo["count('id')"]}
                  {/volist}
                  </h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
                  <div class="count"><a href="{:url('Activityissues/menu_unsolved')}">未解决</a></div>
                  <h3>
                  {volist name="unsolved" id="vo"} 
                    {$vo["count('problem_status')"]}
                  {/volist}
                  </h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
                  <div class="count"><a href="{:url('Activityissues/menu_pending')}">待审核</a></div>
                  <h3>
                  {volist name="pending" id="vo"} 
                    {$vo["count('problem_status')"]}
                  {/volist}
                  </h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
                  <div class="count"><a href="{:url('Allproblems/menu_postponep')}">已延期</a></div>
                  <h3>
                  {volist name="delayed" id="vo"} 
                    {$vo["count('problem_status')"]}
                  {/volist}
                  </h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
                  <div class="count"><a href="{:url('Allproblems/menu_closed')}">已关闭</a></div>
                  <h3>
                  {volist name="closed" id="vo"} 
                    {$vo["count('problem_status')"]}
                  {/volist}
                  </h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
                  <div class="count"><a href="{:url('Allproblems/menu_solved')}">已解决</a></div>
                  <h3>
                  {volist name="solved" id="vo"} 
                    {$vo["count('problem_status')"]}
                  {/volist}
                  </h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
                  <div class="count"><a href="{:url('Activityissues/menu_rejected')}">以拒绝</a></div>
                  <h3>
                  {volist name="refuse_to" id="vo"} 
                    {$vo["count('problem_status')"]}
                  {/volist}
                  </h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
                  <div class="count">项目成员</div>
                  <h3>
                   {volist name="project_member" id="vo"} 
                    {$vo["count('id')"]}
                  {/volist}

                  </h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
                  <div class="count"><a href="{:url('Activityissues/menu_defect')}">缺陷</a></div>
                  <h3>
                  {volist name="defect" id="vo"} 
                    {$vo["count('problem_type')"]}
                  {/volist}
                  </h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
                  <div class="count"><a href="{:url('Activityissues/menu_task')}">任务</a></div>
                  <h3>
                  {volist name="task" id="vo"} 
                    {$vo["count('problem_type')"]}
                  {/volist}
                  </h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
                  <div class="count"><a href="{:url('Activityissues/menu_demand')}">需求</a></div>
                  <h3>
                  {volist name="demand" id="vo"} 
                    {$vo["count('problem_type')"]}
                  {/volist}
                  </h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
                  <div class="count"><a href="{:url('projectnotification/question')}">项目</a></div>
                  <h3>0</h3>
                </div>
              </div>

              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class=""></i></div>
                  <div class="count"><a href="{:url('Activityissues/menu_anxious')}">急</a></div> 
                  <h3>{volist name="anxious" id="vo"} 
                    {$vo["count('problem_priority')"]}
                  {/volist}</h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class=""></i></div>
                  <div class="count"><a href="{:url('Activityissues/menu_high')}">高</a></div>  
                  <h3>{volist name="high" id="vo"} 
                    {$vo["count('problem_priority')"]}
                  {/volist}</h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class=""></i></div>
                  <div class="count"><a href="{:url('Activityissues/menu_in')}">中</a></div>  
                  <h3>{volist name="in" id="vo"} 
                    {$vo["count('problem_priority')"]}
                  {/volist}</h3>
                </div>
              </div>
              <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
                <div class="tile-stats">
                  <div class="icon"><i class=""></i></div>
                  <div class="count"><a href="{:url('Activityissues/menu_low')}">低</a></div>  
                  <h3>{volist name="low" id="vo"} 
                    {$vo["count('problem_priority')"]}
                  {/volist}</h3>
                </div>
              </div>
              <div class="x_content">
                <div class="buttons">
                 <center>
                  <a href="{:url('Problemstatistics/nowadays')}"><button type="button" class="btn btn-info btn-lg">今天</button></a>
                  <a href="{:url('Problemstatistics/starting_from_today')}"><button type="button" class="btn btn-info btn-lg">今天开始</button></a>
                  <a href="{:url('Problemstatistics/end_today')}"><button type="button" class="btn btn-info btn-lg">今天结束</button></a>
                  <a href="{:url('Problemstatistics/tomorrow')}"><button type="button" class="btn btn-info btn-lg">明天</button></a>
                  <a href="{:url('Problemstatistics/this_week')}"><button type="button" class="btn btn-info btn-lg">本周</button></a>
                  <a href="{:url('Projectnotification/configuration')}"><button type="button" class="btn btn-success btn-lg">项目配置</button></a>
                  <a href="{:url('Projectnotification/notice')}"><button type="button" class="btn btn-success btn-lg">发布通知</button></a>
                  <a href="{:url('Projectnotification/question')}"><button type="button" class="btn btn-success btn-lg">发布版本</button></a>
                 </center>
                </div>
              </div>
            </div>
            <div class="row">
              <div class="col-md-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2> 通知消息 <small></small></h2>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">
                    <div class="row" style="border-bottom: 1px solid #E0E0E0; padding-bottom: 5px;margin-bottom: 5px;">
                      {volist name="notice" id="vo"} 
                      <div class="col-md-4 col-sm-4 col-xs-12">
                        <div class="x_panel">
                          <div class="x_title">
                            <h2> {$vo['notice_username']} <small></small></h2>
                            <div class="clearfix"></div>
                          </div>
                          <div class="x_content">
                            <div class="dashboard-widget-content">
                              <ul class="list-unstyled timeline widget">
                                <li>
                                  <div class="block">
                                    <div class="block_content">
                                      <h2 class="title">
                                        <a>{$vo['notice_title']}</a>
                                      </h2>
                                      <div class="byline">
                                        <span>{$vo['notice_time']}</span> by
                                      </div>
                                      <p class="excerpt">
                                      {$vo['notice_text']}
                                      </p>
                                    </div>
                                  </div>
                                </li>
                              </ul>
                            </div>
                          </div>
                        </div>
                      </div>
                      {/volist}
                      <div class="col-md-5">
                        <div class="row" style="text-align: center;">
                          <div class="col-md-4">
                            <canvas class="canvasDoughnut" height="110" width="110" style="margin: 5px 10px 10px 0"></canvas>
                            <h4 style="margin:0">Bounce Rates</h4>
                          </div>
                          <div class="col-md-4">
                            <canvas class="canvasDoughnut" height="110" width="110" style="margin: 5px 10px 10px 0"></canvas>
                            <h4 style="margin:0">New Traffic</h4>
                          </div>
                          <div class="col-md-4">
                            <canvas class="canvasDoughnut" height="110" width="110" style="margin: 5px 10px 10px 0"></canvas>
                            <h4 style="margin:0">Device Share</h4>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
<!-- 引入js -->
  {include file="Common/js"}
<!-- 引入js -->
  </body>
</html>